/*
 *  $Id: Attributes.cs 1181 2010-11-10 16:08:03Z thenn.erannor $
 *	This file is a part of Ragima CCG.
 *	(C) 2008-2010 Ragima development group.
 *
 *	Licensed under the terms of the GNU GPL License version 2.
 *
 */

using System;
using System.Reflection;

namespace Ragima.Languages {
    /// <summary>
    /// Атрибут для указания идентификатора ресурса.
    /// </summary>
    public class ResourceAttribute: Attribute {
        public readonly string Id;

        public ResourceAttribute() {
            Id = string.Empty;
        }
        public ResourceAttribute(string id) {
            Id = id;
        }
    }

    /// <summary>
    /// Атрибут для указания языка типа ресурсов.
    /// </summary>
    public class ResourceLangAttribute: Attribute {
        public readonly string LangCode;

        public ResourceLangAttribute(string code) {
            LangCode = code;
        }
    }
}
